package com.ruoyi.car.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 车辆信息对象 tmd_car_list
 * 
 * @author ruoyi
 * @date 2024-04-19
 */
public class TmdCarList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆编号 */
    @Excel(name = "车辆编号")
    private Long id;

    /** 车辆名称 */
    @Excel(name = "车辆名称")
    private String carName;

    /** 颜色 */
    @Excel(name = "颜色")
    private String carColor;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carCard;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createPersonId;

    /** 司机 */
    private String driverId;


    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 车辆状态 */
    @Excel(name = "车辆状态")
    private String carStatus;

    /** 附件 */
    private String file;

    /** 备注 */
    private String descirbe;

    /** 删除标志 */
    private int deleteFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setCarName(String carName)
    {
        this.carName = carName;
    }
    public String getCarName()
    {
        return carName;
    }

    public void setCarColor(String carColor)
    {
        this.carColor = carColor;
    }
    public String getCarColor()
    {
        return carColor;
    }

    public void setCarCard(String carCard)
    {
        this.carCard = carCard;
    }
    public String getCarCard()
    {
        return carCard;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public void setCreatePersonId(String createPersonId)
    {
        this.createPersonId = createPersonId;
    }

    public String getCreatePersonId()
    {
        return createPersonId;
    }
    public void setDriverId(String driverId) 
    {
        this.driverId = driverId;
    }

    public String getDriverId() 
    {
        return driverId;
    }
    public void setCarStatus(String carStatus)
    {
        this.carStatus = carStatus;
    }

    public String getCarStatus()
    {
        return carStatus;
    }
    public void setFile(String file) 
    {
        this.file = file;
    }

    public String getFile() 
    {
        return file;
    }
    public void setDescirbe(String descirbe) 
    {
        this.descirbe = descirbe;
    }

    public String getDescirbe() 
    {
        return descirbe;
    }

    public int getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(int deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("carName", getCarName())
            .append("carColor", getCarColor())
            .append("carCard", getCarCard())
            .append("createPersonId", getCreatePersonId())
            .append("driverId", getDriverId())
            .append("createTime", getCreateTime())
            .append("carStatus", getCarStatus())
            .append("file", getFile())
            .append("descirbe", getDescirbe())
            .toString();
    }
}
